package com.yuexi.bill.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zenx.dto.TitleValueDTO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author jie
 * @date 2023/4/7 -11:02
 */
@Data
public class BillDTO {

    private String id;
    private String payBy;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private List<TitleValueDTO> areaType;
    private BigDecimal originalPrice;
    private BigDecimal receivable;
    private BigDecimal actuallyPaid;
    private BigDecimal giveChange;
    private BigDecimal discount;

}
